home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-in_the_mag-
/
basics
/
ace
/
ace_submod.lha
/
wbarg.lha
/
test.b
< prev
next >
Wrap
Text File
|
1994-12-30
|
708b
|
34 lines
{*
** This program must be linked with the ACE
** SUBprogram library module WBarg.o.
**
** Try various combinations of icon selection
** (including just launching the executable)
** from the Workbench and observe the effects.
**
** Author: David J Benn
** Date: 29th,30th December 1994
*}
#include "WBarg.h"
IF NOT WBlaunched THEN STOP
WINDOW 1,,(0,0)-(640,200)
FOR i=0 TO WBargcount
PRINT "[";i;"]";
theArg$ = WBargpath$(i)+WBarg$(i)
PRINT TAB(10);theArg$;
theValue$ = ToolTypeVal$(theArg$,"COLOR")
PRINT TAB(30);theValue$;
PRINT TAB(50);ToolTypeValMatched(theValue$,"red");
PRINT TAB(60);DefaultTool$(theArg$)
NEXT
PRINT:PRINT "<< Click close gadget >>"
GADGET WAIT 0
WINDOW CLOSE 1